When using the DOORS runStr command to pass DXL code to DOORS, the error "null View parameter was passed into argument position 1". |
Re: cannot resolve DXL error with runStr from VBA Mathias Mamsch, IT-QBase GmbH, Consultant Requirement Engineering and DOORS |
Re: cannot resolve DXL error with runStr from VBA
Yes, there is no current module. When run on demand from a module, that module is 'current'. When run from VBA, how does it know which module you want the view loaded from? The current top-most displayed module?
Module m
View v
for m in database do
{ if (isVisible(m))
{ v = view(item(fullName(m)), "Test View")
if (!null v) load(m, v, false)
}
}
|